investigating 'markup' approach to simplify the query