refactored questions and creating questions