warning factory