states implemented
tests for states added