It should be easier to combine separate weight variables together without using code.