attempt at resizing