add pub goal to examples