a clock from a string