got the data for the mongo query