added log, filter, merge