some sample code for students