removed redundant api functions