working on a revision history function