implement trap exits