created interface for Quiz