new functionality for draw_dot