Now takes uid as user input instead of random number