combination code

made the combination code, now just to detail it