Functions of fiction in historical writing