added first clock implementation