macro commit