incorrect loop