added api function