new api style.