add clockRadius as drawClock parametr

some variable definition moved in function scope and it works, is it good enough?