caveat about dynamic resizing not working yet