example for LogicPlan