use new api methods