uncommented receive_packet