second half for when getting next id being served