right - the paramList null check was left over from when it was being passed in as an arg - i missed that. I also don't think the size check is needed any more since an empty list is added in any case for each child (if no params).

This could all be simplified.