testing dynamic resizing