minor changes to contents and redrawing