doint resizing