working on resizing issues