adding to the class testing and illustrated private methods functionality