debugging and hooking up messaging for save/delete