Adding last methods for query results