adds untested code for creating history entry.