refactor salestax.rb