Functional and emotional memory in children