implemented parsing the answers