When a person ages memory function can decline