Teaching with Flexibility