little changes in the function "fusion"