Implemented _drawDot function