switch in and out to macro usage