Added get_single_integer
Added assert