made working on osx