add API for demo
add API for demo