added log to record work done