use type for kind