different ways  to display clock at 1-second interval