Issues #70 and #71 were fixed; data structure for logs was improved