combinations code added