port for rest/2; notes