figuring out resizing