updated for XCode 6 - switched from NSUInteger to unsigned long parameters in NSString stringWithFormat calls