added array access for query builder