Working prototype for iOS