Code added to pass a signal