changing logadd