api class added