changed format of last query result