convert uses of collection module to sequence module