add log, exp