How does the shaper machine works