adding $ calculation