Added query output