first pass at all sequence functions done