updated to new version

improved logging