P4 add function to describe two waveguides