Add functionality to dete a question