removed forloop