added quiz routines