Completed p2 in Objective-C