add objective functionality. Work on delete functionality