making quiz format more flexible