added log and wt to compredist