expansion and contraction