added ability to read logs