Graduation function and Sewing machine distribution