Add history call back. Necessary