added light machine to scetch code