Although he runs the biggest tech company on the planet, Apple Inc. Chief Executive Tim Cook is concerned by the risk that technology poses to kids.

Speaking at Harlow College in Essex, England, last week, Cook said there should be limits on the use of technology in schools, and said he doesn’t want his young nephew using social media.

“ “I don’t have a kid, but I have a nephew that I put some boundaries on. There are some things that I won’t allow; I don’t want them on a social network.” ” — Tim Cook

“I don’t believe in overuse [of technology]. I’m not a person that says we’ve achieved success if you’re using it all the time,” Cook said, according to a report by The Guardian. “I don’t subscribe to that at all.”

Cook was speaking at the school as it adopted Apple’s AAPL, -3.17% Everyone Can Code program, in which every student got an iPad.

While saying that these days computer coding is more important to learn than a foreign language, Cook also said there’s a time to put the computer (or iPad, or iPhone) down.

“There are still concepts that you want to talk about and understand. In a course on literature, do I think you should use technology a lot? Probably not,” Cook said.

Cook’s comments came a couple weeks after some major Apple shareholders said the iPhone-maker needs to be more socially responsible and help kids kick their phone addictions.

Read: 6 ways to make smartphones more humane — and less addictive