updated drawcircle func.