add subject query