First working version of the value retrieval
Better number parsing