works - change obj.hasNest() on obj.hasNextDouble()