logging funcationality
doc kill