a sewing machine works