use new repo API