changes for display queries user