latest code for transfer to mac