rm warning about variable shadowing