updated example with generated kernel (not used in paper)