adding text and numeric to query