class query - added