set tax rate based on a var in the controller