update logic in determining the multiplier, necessary for heroku