moved kind handler to method 2