eliminated variable from loop