started macro implementation