init on mac