example for non-switch invoke,then kernel can use the IF