implemented component queries