Create XS-exit