fetch clock
works in repl. errors in testing code?