rename local variables