statemachin diagram object machin machin 