Set-up using Tak's code
iOS file