ensure that add and remove work independently