resize implemented; tested by observation