changed how a success result is defined