add method define