a simple clock