Forget to throw exception in add() function.