Sometimes playing causes learning