Changing most things from stream to Seq to see if I can reason about them a little easier at this point