add configuration options
wrap results so queries are faster