a machine that flattens a surface