addition and removal of traces by monitors