changes some internal structures