finished first mongo query code