a new file for add method.