dynamic loop KO