implement mathematical combination

This is just to see if everything is working fine after this change, so
that other functions can also be implemented.