misc; and working on the timer function