initialising repo