To compartmentalize and hide complexity, programming languages can package pieces of code into named functions, also called methods or subroutines in different programming languages.
So basically, what you've done, is maintained your framework - " I'm going to work through this class" , but you've decided to modify some of the subroutines, that make up that frame.