trying to implement uid. part2