add warning againt loops