works in a loop, n*r constant