using latest API requirement