Added comments to file for readability