A toolkit to optimise our memory of past experiences