added some macro usage