implemented base state in the code (tests do fail)