added log sorts, treatment types