sample paper code