changed NSLog to DDLog