now works on mac os x