Outsmarting the teacher