working, including bad test
forgot i split off state.go