beginnings of resizing