add function fully implemented

only 6-7 optional dates visible. delete function not working,swap with
edit function! algorithm still not implemented