Example demonstrating resize option