- make number of packets per sample configurable