added the code you ould use if you had an iphone