Effects of prior knowledge, prior interest, and learning on writing