patch and sequence memory