Removed cases in add(), as per Brinkman's comment