added file for testing state counting