work on state change b/w training/testing