modify the code of combine