add some xs as_logical