worked with resizing stuff