modify internal structure.