kernel table using define
restructure config