Revert "code no. 1- send data to ports"

This reverts commit 3fc8956d3757c040573f84ea0e0de88e4e8ad603.
Revert "Revert "code no. 1- send data to ports""

This reverts commit b5f61daf665a3fe0ca706c2e94263612c400f3ea.