add method sample