Added UUID generation function