added .query method