init commit of state class