Add fct to define color/alert