using traps