further towards working on mac