add method and add spec