make $queries a class var