working with new api