cosmetic changes
made add/delete functions synchronized