adding casscade to repository