Dirty commit becuase I realize I've mixed up permutations and combinations