added ios stuff