Added resizing and configurable range