working on resizing boxes