work on kernel model