both onFailure as well as onAfterperform what?, needs a verb and needs to be a proper docblock