tweaked demo for pasintf