added quiz implementation