Discrete Machine