Added alert snippet