make it useful in mac-os