refactored callAdd() method for Parser