Added Query model