Added code for task IV.
Failed try! for task IV