calculate tax with overload methods