added state in cs