working on new api