Updated master snippet