add redrawing