finishing up the get_answers function