Updated so that the App can be tested on an actual iPhone