made Quiz object more modular