refactor

To change the structure of code without changing its functionality. For example, a block of code that is repeated multiple times throughout a program could be refactored into a function call instead.