create framework for combinations in hof
wrong output
simplified, can we do better?