add sample for mac to make my life easier