Outlining timer function