make save and delete work, some logging.