added add() method