add required cast for conversion to double