add the timestamp at the end