osx example