removes unused function, re-enables tcp