Changed to remove mongoose