working on respond_to_packet