tweaked calculation method for price