a functional iOS app