Staying on at school, memory and happiness