Realize add and delete