add conditional measure output
Merge pull request #211 from jipiboily/add-conditional-measure

add conditional measure output