First working simple sample for OSX