added a class for interruption