Changed UID formula