working on reposync, not complete