Planning for Effective Teaching