add 2 macro snippet