S-Shape Machines