Changing comments to reflect what functions do