Reprint function added.