more work on haply/flowful prototype