assign macro