Added guard for Apple