CHANGED:applied the timestamp display function