Re-positioning query to get user vars.