adding some tools for processing the logs