lock clock added - thx to CM