added a sec timer for the display mode