set up repository