Add some comments to functions