continued work on pin/port macros