changed mongo query