Rats, beans and memory