started to build trap generator