added comments to files for readability