added reserve, resize, resize_fill, empty functions