A simple clock application