AB's working version of the Duet compile...