working on PA1 for networking