added state class