added comments : trap.c trap.h