adding in more apple specific magic