Add clock implementation