added OSX sample