add -> addElement typo