added clock and small improvement of pollard