added class to read logs