Trap and trace