Added resizer code