Once again realizing the pitfalls of mixing declarative and imperative programming.  Adding items to lists the traditional imperative way is not working very well.