refactored to receipt methods, to remove puts from the class methods