some doodling around log and onDelete