a sewing machine operates