square and sawtooth done