Kernel generalised to model