change to log versions in calculations