simplified add() method