add method of Cramer