first iteration done