Added the final queries.