rename api functions