calls new api endpoint