instrument cleanup section