Added length and reset