added more functionality for question creating