succ. writng rtrvd vals, 1st checking nonempty