Following a tutorial on raywenderlich.com for CI