removed not needed loop