notes on porting to the DUE