Trying out statemachines...