rename internal functions