making it work on osx