updated for new version of logs