Added NSLog codesnippet