Added the main queries