initializing repository