changed seqs to nullable pointers