need to make tests for combination algorithm