completed new api