add projections and query