Adding gQuery