work in-progress piped kfsm