getting it to work on macos