no need to pass "type" through isKeyword