restrict search to rootClass