got the varying radius code working!