added trapping actions