add_sub method added to x class