move map_success_failure to FalseClass and TrueClass from Object