renamed onFailure to onTranspositionFailed + formating