have mongo queries using aggregation