Added bar calculator.