added api for adding and removing items