moved kind handler to method 3