sophisticated contraction generator