moved quiz declaration to application class for better clarity