solution to combine