added timestamps to network code for debugging