Added add and del functions

Functions still need code.