trap example