Worked on the packet reading