let
cur_id = ref (-1)