added noresult and fields options