another shot at resizing