Refactored variable names to improve expressiveness
refactored example to reflect changes in the base class