Wall cstat is converted to a struct