updated for osx 10.9