- updated use of sequence module to work with recent versions