implemented stack_question