adding the exception to the tail wrapper