[TAC-58] add some prototypesque functional prg