reduce. closes #140