added support for float and boolean types