mul_div method added to x class