correct macro and add array