altered carousel query into one query