changed inline to static for generateUUID