Added functions for combination... initial testing succeeds.