adding time to the main page