removed apple specific calls