updated to use new 'uuid' module