added log_scale param