flash clock example to practice design patterns.