added documentation for history