very simple ref-counter for shared parameters #30