add (ugly) implementation of combinations