added support for float values