changed packet size to 1000