added xall and xany