Added iteration and clearing