Need scoping for variables in Kind