rename variable of chosen library