add some apis and samples