Changed the NSString variables to string in the example