more work on clock and model