add initial resizer func