using records for args for packets for later convertion to wire formats