Add check on kit type

readding the kit type checking