works with single query word