i just added state machines to models