changed uid method