modified private-members example of dynamically typed KOOL