Revert "separat for loop"

This reverts commit 98fdaf475b25ce34a760402a1f4452ef1cc7a323.