first stab at sequence memory learning. untested.