add method basename