The role of emotion in the functions of autobiographical memory