breaking read_packets out further