changed getMacroInfo to createMacroInfo