added log on receive