Extracting code into methods and calling those methods.