add port struct initialization (compiles and runs, no further tests yet)