adding ShortTermMemory