(barely) functional mac version