added comments to getProperties()