Oops! Replace endfor with endforeach