Added methods and functions from Assignment Instructions on page 345