Edge detector is incorparated into machine