for loop dont work