implement SeqOp, some cleanup of comments