trying to implement uid. part1