added api class