improved the readability in the function "fusion"