working resize, not for prod yet