added new api endpoint