worked on teacher.rb