modified for compatibility with 8-char uuids