add ability for measures to query for results