renaming Select to Query