changed forloop again