added state obj