made setting query in collection implicit if not provided