added example for using the new kernel support