added comments to sample plugin