Changed resizing ... to be tested