Added lehmer method