Testing over networks, added print statements for testing