Added long term memory