First draft of sequence # calculation
Merge branch 'master' into working
Trying to rewrite seq #s