restructured kot a little bit