making OSX work