Adding Cramer method