adding and changing codes to objects/methods