works. created iterator after data was added