switched around && arguments to avoid component query if possible