creates redraw markers method