add new api functions