recent history & inside out function add