handlers for OSX
updated with OS X notes