Modified for easy snippet rendering