updated for new version of log