addedd resizing