changed to assume repo is present at init