modifications on the networking1 homework