Added comments: trap.[ch]