a machine on a square surface