switch back to mongoose