changed trap call