resize, not yet finished