compat with XS