update commentary
format with indent
update comments, add #define for OUTPUT_PORT