added log at start too