Separated out fusion code