take mongo port as an arg