add more advanced query and projections