Removed empty line
Trying to write better code...tcp part still messy and does not work