add timestamp in decoder