added support for parsing values to doubles