Got most of the turning machine working