When Captain Jack Sparrow isn’t plundering for treasure or chugging rum, he’s hanging out at children’s hospitals.

Johnny Depp donned his full Pirates of the Caribbean: Dead Men Tell No Tales garb to visit the Lady Cilento Children’s Hospital in Brisbane, Australia.

And as the beloved captain, he’s confused by modern technology and customs — in the video below, he asks one child while posing for a photo, “Now, if there’s other people in it, why do you call it a selfie?”

Stephen Graham also stopped by as Depp’s loyal admirer, Scrum.

The two actors landed in a helicopter on the hospital’s rooftop to spend over three hours with the patients and their families, says the Children’s Hospital Foundation, which helped coordinate the special visit. The fifth installment of the Disney franchise is filming on the Gold Coast.

“I’ll just sneak in and go and surprise a bunch of kiddies through the different wards,” Depp previously told E! of visiting children’s hospitals while in character. “It basically turns into a two-, three-hour improvisation and it’s really fun. So I travel with Captain Jack.”

See video and photos from the visit below.

This article originally appeared on The Hollywood Reporter

More from The Hollywood Reporter:

Contact us at editors@time.com.

Read More From TIME

EDIT POST