try new counting of ids