step by step contraction