Made some changes to the interactions to save memory.