added function to calc unit multiplier