prototype for classwork