Example to create repository