after getting all the results