added a new transformer to minimize traps