added apple stuff back in