added inline API file