adds two state diagrams. not sure each one to use, or even if are what they should be