upgraded for attractor 1.x
attractor example