porting with mac