Use repo consistently and close when done