var uid = 0

function nextUid() {
    return ++uid
}