can now handle float values