added datasink, better formatting clocksync