switch to reference counting, repo name is now a misnomer