add method added to x class