initializing repositarty