changed packet structure