added support for floating numbers