editting and logging