add peco history function.