added add() to main