Add total for logging.
Add option for deletion.