example for SWC