add rename internal functions