slight improvement on circle draw functionwq