added log_scat back