add query for simple query