adding resizing