made friendly for OSX