sample codes from a junior