working state as initializer