resizing now functional