remove internal function