Added element defination in the macro