added macro diagram