Changed macro from example to snippet