nicer to end with success and handle the error first in the if scope.