On the importance of rote learning