modifications for results query and display