updated for ios n wp8