refactor negated conditional with else branch
promises be weird