What can cause your memory to deterioriate and work better