use component/query instead of querySelectorAll