changing way i made repository.