Queries class add