use public params in constructor and resolve for list. fixes #1