add() method created