Replaced the NSLog with return.