much more robust impl of context info for parameter lists