add API name and initial function