Alert factory