limit results and merge on the back end