memory adding now works