added new api method