Add the missing endfor