retrofitted exception handling