created interface for QuestionRepository