added iCoud support