added getDelta, changed to using uuid.uuid4