added instance variable, constructor, and add and delete