changing all structure