OPT® Cribbed from the Java agent