Solve macros