added log on run method