beginnings of new api