mongo refactor passes all tests, app needs TLC