added comment and fixed macro