adapting to mac
adapting to mac