got rid of a totally useless variable in the add() method