map the new api