Added comments to the sample invoker