Changed query a little and added front-end functionality to support table results.