change position od for loop
add failing test, neet to be fixed