Practice exercise for Objective-C