added osx example which is broken until next commit.