add classes for traps