prepare for mac