add resouce-to-sequence pattern