better usage of XS