added notifications snippet