Added iPhone functionality