using the clock