compute all combinatios
partial solution