method for teaching.