Fixed everything, guards and states work fine. Need to add updates to edges