Code for classroom consumption