Sometimes studying causes learning