adding repo ref to merchant kalsses