implement build_packet and dummy timestamp()
implement timestamp