added functionality for unanswered option