Moved the ugr example to a let statement