added api basics