made notes to canvas_resize