added comments to the files where functionality is active