add history and profile