running MACS example