this is a small program for timer