working, but with a bug in getTax$