rebuilding repo from scratch